package com.yuke.cloud.service.api.pmc.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/*
 * <p>Company: Copyright (c) 2018. yuke All Rights Reserved. </br> </p>
 * <p>Title：yukemall </br> </p>
 * <p>com.yuke.cloud.service.api.pmc.dto Description TODO </br> </p>
 * @Author wg
 * @Date   2019/6/24 17:16
 */
@Data
public class ProdSpecInfoExDto {
    @ApiModelProperty(value="storageId")
    private Long storageId;

    @ApiModelProperty(value="specId")
    private Long specId;

    @ApiModelProperty(value="商品ID")
    private Long productId;

    @ApiModelProperty(value="品牌ID")
    private Long brandId;

    @ApiModelProperty(value="商品类别ID")
    private Long categoryId;

    @ApiModelProperty(value="factoryId")
    private Long factoryId;

    @ApiModelProperty(value="regionId")
    private Long regionId;

    @ApiModelProperty(value="specName商品名称")
    private String specName;

    @ApiModelProperty(value="salePrice自定义售价，价格单位为分")
    private Integer salePrice;

    @ApiModelProperty(value="stockPrice入库价格，价格单位为分")
    private Integer stockPrice;

    @ApiModelProperty(value = "图片地址")
    private String picture;

    @ApiModelProperty(value = "大图图片地址")
    private String bigPicture;

    @ApiModelProperty(value = "商品月销量")  // 总销量
    private Long saleCount;

    @ApiModelProperty(value = "商品的重量")
    private Integer weight;

    @ApiModelProperty(value = "商品的保质期")
    private Integer quality;

    @ApiModelProperty(value = "商品的库存量")
    private Integer stockCount;

    private Integer number;

    private Integer lockNumber;

    @ApiModelProperty(value="sort排序，数值越小越靠前")
    private Integer sort;

    @ApiModelProperty(value = "是否为新品")
    private Boolean isNew;

    @ApiModelProperty(value = "是否为推荐商品")
    private Boolean isRecommend;

    @ApiModelProperty(value = "是否为厂家直销")
    private Boolean isFactory;

    @ApiModelProperty(value = "是否支持分销")
    private Boolean isRetail;

    @ApiModelProperty(value="isEnable是否启用，0：不启用，1：启用")
    private Boolean isEnable;

    @ApiModelProperty(value="isReturn是否支持退货，0：不支持，1：支持")
    private Boolean isReturn;

    @ApiModelProperty(value="销售类型，1：零售，2：批发，3：零售+批发")
    private Byte saleType;


    @ApiModelProperty(value = "指导价")
    private Integer guidancePrice;

    @ApiModelProperty(value="purchasePrice平台进货价格，价格单位为分")
    private Integer purchasePrice;

    @ApiModelProperty(value = "商品描述")
    private String description;

    @ApiModelProperty(value = "是否为秒杀活动商品")
    private Boolean isSecKill;

    @ApiModelProperty(value = "秒杀商品价格")
    private Integer secKillPrice;

    @ApiModelProperty(value = "秒杀活动结束时间")
    private Date secKillEndTime;

    // add by wg 20190716 增加商品发货源信息
    @ApiModelProperty(value = "商品所在仓库ID")
    private Long warehouseId;

    @ApiModelProperty(value = "商品所在城市ID")
    private Long wareCityId;

    @ApiModelProperty(value = "商品所在城市名称，包括省份")
    private String wareCityName;

    @ApiModelProperty(value = "是否为搭赠活动")
    private Boolean hasTying;


    @ApiModelProperty(value = "搭赠商品id")
    private Long giftSpecId;

    @ApiModelProperty(value = "是否打折")
    private Byte hasDiscount;

    @ApiModelProperty(value = "是否满减")
    private Byte hasReduction;

    @ApiModelProperty(value = "是否返利")
    private Byte hasRebate;

    @ApiModelProperty(value="marketPrice市场售价，价格单位为分")
    private Integer marketPrice;

    @ApiModelProperty(value="returnPeriod支持几天内退货，从发货时间开始计算")
    private Integer returnPeriod;

    @ApiModelProperty(value = "生产日期")
    private Date mfgDate;

    private Integer unitNumber;
}
